package ranks.types.mappings;

import java.net.URL;

public class ESPNIDPMapping extends ESPNPPRMapping {

	public ESPNIDPMapping() {
		
	}	
	
	protected void setUpVariables() {
		this.dataURLs
			= new URL[]{ClassLoader.getSystemResource("espn-idp.html")};
		
	}
	
	private void addToRemovePhrases() {
		this.removePhrases.put("\t", "");
		this.removePhrases.put("[<][^>]*[>]", ",");
		this.removePhrases.put("[,]+", ",");
		this.removePhrases.put(", ", ",");
		this.removePhrases.put("^,", "");
		this.removePhrases.put("&nbsp;", "0");
		this.removePhrases.put(",Rank,Player,Bye,Pos Rank,", "");
	}
}
